<template>
    <div>
        <el-form :model="goodsItem" label-width="auto" style="max-width: 600px">
            <el-form-item label="售价">
                <el-input v-model="goodsItem!.sale" />
            </el-form-item>
            <el-form-item label="库存">
                <el-input v-model="goodsItem!.stock" />
            </el-form-item>
        </el-form>
    </div>
</template>

<script setup lang="ts">
import { classListItem } from '@/api/modules/goodsList';
    const goodsItem=defineModel<classListItem>()
</script>

<style scoped></style>